package com.wanmait.houlang.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class Manager implements Serializable {
    private Integer id;

    private  Boolean enable;


    private String managerName;

    private String managerPass;

    private String registeIp;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    private String lastLoginIp;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date lastTime;

    private String tel;

    private Boolean issupermag;

    private static final long serialVersionUID = 1L;

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public String getManagerPass() {
        return managerPass;
    }

    public void setManagerPass(String managerPass) {
        this.managerPass = managerPass;
    }

    public String getRegisteIp() {
        return registeIp;
    }

    public void setRegisteIp(String registeIp) {
        this.registeIp = registeIp;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Boolean getIssupermag() {
        return issupermag;
    }

    public void setIssupermag(Boolean issupermag) {
        this.issupermag = issupermag;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", managerName=").append(managerName);
        sb.append(", managerPass=").append(managerPass);
        sb.append(", registeIp=").append(registeIp);
        sb.append(", createTime=").append(createTime);
        sb.append(", lastLoginIp=").append(lastLoginIp);
        sb.append(", lastTime=").append(lastTime);
        sb.append(", tel=").append(tel);
        sb.append(", issupermag=").append(issupermag);
        sb.append("]");
        return sb.toString();
    }
}